Skip to content

Fix internalAuthors option being silently ignored#23

Merged
theoephraim merged 1 commit into
mainfrom
fix/internal-authors-option
Apr 21, 2026
Merged

Fix internalAuthors option being silently ignored#23
theoephraim merged 1 commit into
mainfrom
fix/internal-authors-option

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Summary

  • loadFormatter had a bug where the generic built-in formatter lookup matched "github" before the options-aware code path, so config like ["github", { "internalAuthors": [...] }] silently dropped the options and created the formatter with defaults
  • Reordered the branches so the github-specific path (which forwards options to createGithubFormatter) runs first
  • Added loadFormatter tests covering options passthrough, bare "github" string, and default formatter

Test plan

  • Existing tests pass (175 total)
  • Verify changelogs generated by bumpy ci release no longer include "Thanks @..." for internal authors

🐸 Generated with Claude Code

The generic built-in formatter lookup matched "github" before the
options-aware path, so options (internalAuthors, repo, etc.) were
silently ignored. Reorder the branches so the github-specific path
runs first. Add loadFormatter tests covering this case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bumpy-bot

Copy link
Copy Markdown
Collaborator

bumpy-frog

The changes in this PR will be included in the next version bump.

patch Patch releases

  • @varlock/bumpy 0.0.2 → 0.0.3

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit ec02d0b into main Apr 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants